package com.woniu.adminservice.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value="userservice")
public interface UserFeign {
    /**
    *@Author:huangjing
    *@Description:按时间范围查询注册人数
    *@Date: 22:08 2020/3/23
    */
    @GetMapping("/registerCountByTime")
    public List registerCount();
    @GetMapping("/user/list")
    List userInfoList();
}
